<div class="form">
        <textarea name="description" id="act-text" >写下您的真实需求，包括商品名称，规格，材质等收到后我们会立即给您回电话确认，剩下就交给我们把。</textarea>
        <input type="text" placeholder="姓名" class="inp-name" id="contact" >
        <input type="text" placeholder="联系电话" class="inp-tel" id="mobile">
        <button type="button" class="btn-act">帮我找</button>
</div>
<script src="/resource/js/jquery-1.11.3.min.js"></script>
<script>
    $('.btn-act').click(function() {	//找货助手提示信息
        var contact = $('#contact').val();
        var mobile  = $('#mobile').val();
        var description  = $('#act-text').val();
        if(contact&&mobile&&description){
            $.ajax({
                url: "/publish_customize",
                type: "POST",
                data: "mobile=" + mobile+"&contact="+contact+"&description="+description,
                success: function (msg) {
                    if (msg == 1) {
                        Showbo.Msg.alert('<img src="/resource/img/popup_success.png" alt=""><br/>我们会尽快为您审核，并且帮您找到更合适的资源');
                    }
                }
            })
        }else{
            Showbo.Msg.alert('需求、姓名、联系电话不能为空');
        }

    })
</script>